package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退货单信息对象 t_returned_orders
 * 
 * @author ruoyi
 * @date 2024-05-22
 */
public class TReturnedOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退货单主键 */
    @Excel(name = "退货单主键")
    private String returnedOrdersId;

    /** 订单主键 */
    @Excel(name = "订单主键")
    private String orderId;

    /** 退货原因 */
    @Excel(name = "退货原因")
    private String reason;

    /** 是否退款 */
    @Excel(name = "是否退款")
    private String refund;

    /** 退货单状态 */
    @Excel(name = "退货单状态")
    private String status;

    public void setReturnedOrdersId(String returnedOrdersId) 
    {
        this.returnedOrdersId = returnedOrdersId;
    }

    public String getReturnedOrdersId() 
    {
        return returnedOrdersId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setRefund(String refund) 
    {
        this.refund = refund;
    }

    public String getRefund() 
    {
        return refund;
    }
    public void setStatus(String status) 
    {
        this.status = status;

    }

    public String getStatus() 
    {
       return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("returnedOrdersId", getReturnedOrdersId())
            .append("orderId", getOrderId())
            .append("reason", getReason())
            .append("refund", getRefund())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .toString();
    }
}
